package com.bailong.nanny.d;

import com.bailong.nanny.entity.User;

import java.util.List;

public interface UserDao {
    List<User> selectAllUser();
    int deleteUser(int id);
    User selectUserById(int id);
    User selectUserByName(String name);
    int updateUser(User user);
    int selectUserCount();
    List<User>selectUserLimit(int start,int length);
}
